package com.ruoyi.common.payment;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class YukuaiqiCallbackReq {
    @ApiModelProperty(value = "用户标识，平台分配商户唯一标识")
    private String openid;

    @ApiModelProperty(value = "平台分配商户公钥")
    @JsonProperty("mch_secret")
    private String mchSecret;

    @ApiModelProperty(value = "随机字符串，长度要求在32位以内")
    @JsonProperty("nonce_str")
    private String nonceStr;

    @ApiModelProperty(value = "商品描述，商户自己持有，回调会原值返回")
    private String body;

    @ApiModelProperty(value = "商户商品订单号，商户自己持有，回调会原值返回")
    @JsonProperty("out_trade_no")
    private String outTradeNo;

    @ApiModelProperty(value = "价格(元)，随机字符串，长度要求在32位以内")
    @JsonProperty("total_fee")
    private String totalFee;

    @ApiModelProperty(value = "交易类型，601 602 等，具体联系运营人员")
    @JsonProperty("trade_type")
    private String tradeType;

    @ApiModelProperty(value = "交易时间戳，当时秒数")
    @JsonProperty("time_Stamp")
    private String timeStamp;

    @ApiModelProperty(value = "订单号，平常生成唯一交易表示")
    @JsonProperty("prepay_id")
    private String prepayId;

    @ApiModelProperty(value = "签名，签名算法上面可见")
    private String sign;

    @ApiModelProperty(value = "操作码，orderRepairNotify:订单补单回调, orderNotify:订单回调")
    @JsonProperty("txCode")
    private String txCode;

    @ApiModelProperty(value = "相应类型描述")
    @JsonProperty("txMsg")
    private String txMsg;

    @ApiModelProperty(value = "相应结果状态")
    private String code;

    @ApiModelProperty(value = "相应结果状态描述")
    private String message;
}
